<%-- 
    Document   : pasajeros
    Created on : 17/01/2013, 08:51:31 PM
    Author     : Administrador
--%>

<%@page import="NM_ClasesGenerales.Itinerario"%>
<%@page import="NM_ClasesGenerales.Cliente"%>
<%@page import="NM_ClasesGenerales.Passenger"%>
<%@page import="java.util.List"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
        <link href="css/styles_proyecto_gnm.css" rel="stylesheet" type="text/css" /> 
        <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
        <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
        <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
        <script type="text/javascript" src="js/javascript_proyecto_gnm.js" ></script>

        <script language="javascript">
            
            function habilitarTxt(){
                var gdssel = document.reserva.Sel_Gds[document.reserva.Sel_Gds.selectedIndex].value;
                    
                if(gdssel==0){
                    document.getElementById('textpnr').value='';
                    document.getElementById('textpnr').disabled=true;
                } else {
                    //   alert("Por favor ingrese el c�digo de reserva.");
                    document.getElementById('textpnr').disabled=false;
                    document.getElementById('textpnr').focus();
                }
                
                
                ActivaTarifar();
            }
            function f_editar_Registro(e){ 
    
                var hf = document.getElementById('hfCodigo');
                
                hf.value = e;
                
                //alert(hf.value)
                var contexto = "<%= request.getContextPath()%>";

                document.getElementById('selectblocker').src= contexto+"/app_sabre/pasajero.jsp";
                $( "#divEditar2" ).dialog( "open" );
                
            }
            function PRUEBA_CERRAR(){ 

                $( "#divEditar2" ).dialog( "close" );

            }
            function f_emitir(){ 
                var contexto = "<%= request.getContextPath()%>";
                //document.reserva.action = contexto+"/NM_Usuario";
                document.reserva.action = contexto+"/confirmaciones/procesado.jsp";
                document.reserva.submit();
                return true;  
            }
            
            function verificarActivosPasajeros(e){
                var gdssel = e.checked;
                var ValorHD_Pax = parseInt(document.getElementById("HF_Pax").value);
                
                if(gdssel==true){
                    ValorHD_Pax += parseInt(1);
                } else{
                    ValorHD_Pax -= parseInt(1); 
                }
                
                document.getElementById("HF_Pax").value = ValorHD_Pax;
                
               
                ActivaTarifar();

            }
            
            function verificarActivosItinerario(e){
                var gdssel = e.checked;
                var ValorHD_Iti = parseInt(document.getElementById("HF_Iti").value);
                
                if(gdssel==true){
                    ValorHD_Iti += parseInt(1);
                } else{
                    ValorHD_Iti -= parseInt(1); 
                }
                
                document.getElementById("HF_Iti").value = ValorHD_Iti;
                
                ActivaTarifar();

            }  
            
            
            
            function ActivaTarifar(){
                var ValorHD_Pax = parseInt(document.getElementById("HF_Pax").value);
                var ValorHD_Iti = parseInt(document.getElementById("HF_Iti").value);
                             
                if (ValorHD_Pax>=1 && ValorHD_Iti>=1){
                    //if (ValorHD_Pax==0){

                    document.reserva.Btn_Tarifar.disabled=false;  
                } else{
                    document.reserva.Btn_Tarifar.disabled=true;
                }  
                
            }
            
            /*
            
            function f_tarifar(){
                var contexto = "<%= request.getContextPath()%>";
                document.login.action = contexto+"/NM_Tarifar";
                document.login.submit();
                return true;  
            }
             */
           
            function f_reserva(){
                
                var opc = document.reserva.Sel_Gds[document.reserva.Sel_Gds.selectedIndex].value;
                document.getElementById('HiddenField2').value = opc;
                document.getElementById('divReserva').style.display="block";    
                
                var contexto = "<%= request.getContextPath()%>";
                document.reserva.action = contexto+"/NM_RecuperarPNR";
                document.reserva.method="POST";
                document.reserva.submit();
                return true;                
            }
            
            function f_tarifar(){
                
                var tamaPass = document.getElementById('hfTotalPas').value;
                var cadena = "";

                
                for (var i=0;i<tamaPass;i++)
                { 
                 
                    var pos = parseInt(i) + 1;
                    var txt = 'chkPass' + pos;
                    var chk = document.getElementById(txt);
                    //alert(tamaPass.length + ' (-) ' + i);
                 
                    if(chk.checked == true )
                        cadena = cadena + "P" + pos + ",";
                }

                
                //-----------------
                
                var tamaItin = document.getElementById('hfTotalIte').value;
                
                for (var i=0;i<tamaItin;i++)
                { 
                 
                    var pos = parseInt(i) + 1;
                    var txt = 'chkIte' + pos;
                    var chk = document.getElementById(txt);
                 
                    if(chk.checked == true )
                        cadena = cadena + "I" + pos + ",";
    
                }

                //cadena = cadena.
                
                document.getElementById('hdCadena').value = cadena;
                
                var contexto = "<%= request.getContextPath()%>";
                document.reserva.action = contexto+"/NM_Tarifar";
                document.reserva.method="POST";
                document.reserva.submit();
                
            }

            
        </script>
        <script>
            
            
            $(function() {
                $( "#divEditar2" ).dialog({
                    height: 400,
                    width: 500,   
                    autoOpen: false,
                    modal: true, 
                    overlay: { 
                        opacity: 0, 
                        background: "black" 
                    } ,
                    show: {
                        effect: "blind",
                        duration: 1000
                    },
                    hide: {
                        effect: "fade",
                        duration: 1000
                    }
                });
 

                
            });

            
        </script>
    </head>
    <body onload="habilitarTxt();">

        <form name="reserva" method="post" id="reserva">

            <div id="divEditar" style="display:none" class="wait" >
            </div>

            <div id="divEditar2" class="MensajesAlertas" >

                <iframe id="selectblocker" width="100%" height="100%" frameborder="0" scrolling="no" ></iframe>

            </div>
            <input type="hidden" id="hfCodigo" name="hfCodigo" />
            <tr>

            </tr>
            <table width="660" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <p class="titulos">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Emisi&oacute;n Publicadas</p>

                        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1">
                            <tr>
                                <td>
                                    <%

                                        if (request.getAttribute("xUsuario") != null) {

                                            Cliente lista = (Cliente) request.getAttribute("xUsuario");

                                    %>
                                    <table class="tabla_rultado" cellspacing="0" cellpadding="4" width="100%" align="center">
                                        <tr>
                                            <td bgcolor="#021d92" colspan="2"><span class="tabla_titulo">Informaci&oacute;n de Usuario :</span></td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
                                                    <tr>
                                                        <td style="width: 14px; height: 17px"><img src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td style="width: 61px">Empresa</td>
                                                        <td style="width: 15px" align="center">:</td>
                                                        <td><span id="lblempresa"><%= lista.getCliente()%></span></td>
                                                    </tr>                                           
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>Usuario</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lblusuario"><%= lista.getoNombre()%></span></td>
                                                    </tr>
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>E-mail</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lblemail"><%= lista.getoEmail()%></span></td>
                                                    </tr>
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>Tel&eacute;fono</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lbltelefono"><%= lista.getTelefono()%></span></td>
                                                    </tr>
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>Direcci&oacute;n</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lbldireccion"><%= lista.getDireccion()%></span></td>
                                                    </tr>
                                                    <% if (request.getAttribute("req_gds") != null) {%>
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>Sistema</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lblSistema"><%= (String) request.getAttribute("req_gds")%></span></td>
                                                    </tr>
                                                    <% }%>            
                                                    <% if (request.getAttribute("req_gds") != null) {%>
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>Codigo PNR</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lblPNR"><%= (String) request.getAttribute("req_textpnr")%></span></td>
                                                    </tr>
                                                    <% }%>
                                                    <% if (request.getAttribute("HiddenField1") != null) {%>   
                                                    <tr>
                                                        <td style="height: 17px"><img  height="7" src="../../../../GNM_APP%20-%20copia/GNM_WebApp/web/img/vineta.png" width="7"></td>
                                                        <td>Mensaje</td>
                                                        <td align="center">:</td>
                                                        <td><span id="lblPNR"><p class="titulos"><%=  request.getAttribute("HiddenField1")%></p></span></td>
                                                    </tr>   
                                                    <%  }%>
                                                </table>

                                            </td>
                                        </tr>
                                    </table>
                                    <% }%>

                                    <table class="tabla_rultado" cellspacing="0" cellpadding="4" width="100%" align="center">
                                        <tr>
                                            <td bgcolor="#021d92" colspan="2"><span class="tabla_titulo">Informaci&oacute;n de General </span></td>
                                        </tr>

                                        <tr>
                                            <td><table width="90%" border="0" align="center" cellspacing="3">
                                                    <tr>
                                                        <td><table border="0" align="center">
                                                                <tr>
                                                                    <td width="60">Reserva en </td>
                                                                    <td width="20"><div align="center">:</div></td>
                                                                    <td><select name="Sel_Gds" onchange="habilitarTxt();" id="Sel_Gds" class="combo_pickup" style="width:120px; ">
                                                                            <option selected="selected" value="0">Seleccione aqu&#237;</option>
                                                                            <option value="1" >Sabre</option>
                                                                            <option value="2">Amadeus</option>

                                                                        </select></td>
                                                                    <td width="30">&nbsp;</td>
                                                                    <td width="100">C&oacute;digo de Reserva </td>
                                                                    <td width="20"><div align="center">:</div></td>
                                                                    <td><input type="text" class="cajatextoform" name="textpnr" id="textpnr" maxlength="6" style="width:82px;" onkeyup="vMayusculas(this);" /></td>
                                                                </tr>
                                                            </table></td>
                                                    </tr>
                                                    <tr>
                                                        <td><table width="200" border="0" align="center" cellspacing="3">
                                                                <tr>
                                                                    <td><input name="Btn_Recuperar" class="botones2" id="Btn_Recuperar" style="width:100px; height:23px;" type="button" value="Recuperar" onclick="javascript:f_reserva();"/></td>
                                                                    <td>&nbsp;</td>
                                                                    <td><input name="Btn_Cancelar" class="botones2" id="Btn_Cancelar" style="width:100px; height:23px;" type="button" value="Cancelar" onclick="javascript:gdsSeleccionado();"/></td>
                                                                </tr>
                                                            </table></td>
                                                    </tr>
                                                </table></td>
                                        </tr>
                                    </table>                                   
                                </td>
                            </tr>
                            <tr>
                                <td>

                                    <div id="divReserva" style='display:block'>
                                        <table class="tabla_rultado" cellspacing="0" cellpadding="4" width="100%" align="center">
                                            <tr>
                                                <td bgcolor="#021d92" colspan="2"><span class="tabla_titulo">Informaci&oacute;n del Pasajero </span></td>
                                            </tr>
                                            <tr>
                                                <td> <table width="90%" border="0" align="center" cellpadding="8" cellspacing="0" >
                                                        <tr>
                                                            <td>
                                                                <table width="100%" border="1"  align="center" cellpadding="0" cellspacing="0" class='tablasContenido'>

                                                                    <tr>
                                                                        <td class="tabla_header_1"><div align="center">N&ordm;</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Nombre</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Apellido</div></td>
                                                                        <td class="tabla_header_2"><div align="center">F. Nac</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Genero</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Tipo</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Documento</div></td>
                                                                        <td class="tabla_header_2"><div align="center">N�mero</div></td>
                                                                        <td colspan="2" class="tabla_header_2"><div align="center"></div></td>
                                                                    </tr>
                                                                    <%

                                                                        if (request.getAttribute("listaPassenger") != null) {

                                                                            List<Passenger> lista = (List<Passenger>) request.getAttribute("listaPassenger");

                                                                            for (int i = 0; i < lista.size(); i++) {

                                                                                Passenger pass = lista.get(i);
                                                                    %>
                                                                    <tr>
                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtNum<%= pass.getNumPassenger()%>" name="txtNum<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= pass.getNumPassenger()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtName<%= pass.getNumPassenger()%>" name="txtName<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:80px;height:15px;font-size:11px;" value="<%= pass.getStrPassengerName()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtSurname<%= pass.getNumPassenger()%>" name="txtSurname<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:80px;height:15px;font-size:11px;" value="<%= pass.getStrPassengerSurname()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtDate<%= pass.getNumPassenger()%>" name="txtDate<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:62px;height:15px;font-size:11px;" value="<%= pass.getStrDateBirthday()%>"/>

                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtGenero<%= pass.getNumPassenger()%>" name="txtGenero<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:62px;height:15px;font-size:11px;" value="<%= pass.getStrGenero()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtStrPassenegerType<%= pass.getNumPassenger()%>" name="txtStrPassenegerType<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:62px;height:15px;font-size:11px;" value="<%= pass.getStrPassenegerType()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtStrReferenceType<%= pass.getNumPassenger()%>" name="txtStrReferenceType<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:62px;height:15px;font-size:11px;" value="<%= pass.getStrReferenceType()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input id="txtStrReferenceNumber<%= pass.getNumPassenger()%>" name="txtStrReferenceNumber<%= pass.getNumPassenger()%>" type="text" readonly="true" class="cajatextoform2" style="width:62px;height:15px;font-size:11px;" value="<%= pass.getStrReferenceNumber()%>"/>
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input type="checkbox" id="chkPass<%= pass.getNumPassenger()%>" name="chkPass<%= pass.getNumPassenger()%>" value="checkbox">
                                                                        </td>
                                                                        <td class="tabla_fila_b">
                                                                            <input type="button" id="btEditar<%= pass.getNumPassenger()%>" name="btEditar<%= pass.getNumPassenger()%>" onclick="f_editar_Registro(<%= pass.getNumPassenger()%>);" style="width:20px;height:20px;"  value="..." />
                                                                        </td>
                                                                    </tr>
                                                                    <% }%>
                                                                    <input type="hidden" id="hfTotalPas" name="hfTotalPas" value="<%= lista.size()%>"  >

                                                                    <% }%>

                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table></td>
                                            </tr>
                                        </table>    
                                        <table class="tabla_rultado" cellspacing="0" cellpadding="4" width="100%" align="center">
                                            <tr>
                                                <td bgcolor="#021d92" colspan="2"><span class="tabla_titulo">Informaci&oacute;n del Itinerario </span></td>
                                            </tr>
                                            <tr>
                                                <td> <table width="90%" border="0" align="center" cellpadding="8" cellspacing="0" >
                                                        <tr>
                                                            <td><table width="100%" border="1"  align="center" cellpadding="0" cellspacing="0" class='tablasContenido'>

                                                                    <tr>
                                                                        <td class="tabla_header_1"><div align="center">N&ordm;</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Aerol&iacute;nea</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Vuelos</div></td>
                                                                        <td class="tabla_header_2"><div align="center">Estado</div></td>
                                                                        <td class="tabla_header_2"><div align="center">C. Salida </div></td>
                                                                        <td class="tabla_header_2"><div align="center">D. Salida </div></td>
                                                                        <td class="tabla_header_2"><div align="center">H. Salida </div></td>
                                                                        <td class="tabla_header_2"><div align="center">C. Llegada</div></td>
                                                                        <td class="tabla_header_2"> D. Llegda  </td>
                                                                        <td class="tabla_header_2"><div align="center">H.Llegada </div></td>
                                                                        <td class="tabla_header_2">&nbsp;</td>
                                                                    </tr>
                                                                    <%

                                                                        if (request.getAttribute("listaItinerario") != null) {

                                                                            List<Itinerario> lista = (List<Itinerario>) request.getAttribute("listaItinerario");

                                                                            for (int i = 0; i < lista.size(); i++) {

                                                                                Itinerario ite = lista.get(i);
                                                                    %> 
                                                                    <tr>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtNumIte<%= ite.getNumItinerario()%>" name="txtNumIte<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getNumItinerario()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtAir<%= ite.getNumItinerario()%>" name="txtAir<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrAir()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtNumFly<%= ite.getNumItinerario()%>" name="txtNumFly<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getNumFly()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtStatus<%= ite.getNumItinerario()%>" name="txtStatus<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrStatus()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtStrCityDeparture<%= ite.getNumItinerario()%>" name="txtStrCityDeparture<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrCityDeparture()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtDateTimeDeparture<%= ite.getNumItinerario()%>" name="txtDateTimeDeparture<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrDateTimeDeparture()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtHoraTimeDeparture<%= ite.getNumItinerario()%>" name="txtHoraTimeDeparture<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrDateTimeDeparture()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtCityArrival<%= ite.getNumItinerario()%>" name="txtCityArrival<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrCityArrival()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtDateTimeArryval<%= ite.getNumItinerario()%>" name="txtDateTimeArryval<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrDateTimeArryval()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_a">
                                                                            <input id="txtHoraTimeArryval<%= ite.getNumItinerario()%>" name="txtHoraTimeArryval<%= ite.getNumFly()%>" type="text" readonly="true" class="cajatextoform2" style="width:20px;height:15px;font-size:11px;" value="<%= ite.getStrDateTimeArryval()%>"/>
                                                                        </td>

                                                                        <td class="tabla_fila_b">
                                                                            <input type="checkbox" id="chkIte<%= ite.getNumItinerario()%>" name="chkIte<%= ite.getNumItinerario()%>" value="checkbox" >
                                                                        </td>

                                                                    </tr>


                                                                    <% }%>
                                                                    <input type="hidden" id="hfTotalIte" name="hfTotalIte" value="<%= lista.size()%>"  >

                                                                    <% }%>

                                                                </table>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <input type="hidden" id="hdCadena" name="hdCadena"  ></input>
                                                            </td>
                                                        </tr>
                                                    </table></td>
                                            </tr>
                                        </table> 
                                    </div>
                                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="8">
                                        <tr>
                                            <td><table width="200" border="0" align="center" cellspacing="3">
                                                    <tr>
                                                        <td><input name="Btn_Recuperar" class="botones2" id="Btn_Tarifar" style="width:100px; height:23px;" type="button" value="Tarifar" onclick="javascript:f_tarifar();" /></td>
                                                        <td>&nbsp;</td>
                                                        <td><input name="Btn_Emitir" class="botones2" id="Btn_Emitir" style="width:100px; height:23px;" type="button" value="Emitir" onclick="javascript:f_emitir();"/></td>
                                                    </tr>
                                                </table></td>
                                        </tr>
                                    </table                      

                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <br /><br />
                                    <table width='100%' border='0' cellpadding='0' cellspacing='0' align='center' class='tabla_nota'>
                                        <tr>
                                            <td>
                                                <span  style='color: #FF0000'><strong>NOTA:</strong></span><br />
                                                Antes de emitir le recomendamos verificar los datos y confirmar la tarifa mostrada.<br />
                                                Si se presenta alguna dificultad en esta página, por favor contactar al Help Desk.
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td><input type="hidden" name="HiddenField1" id="HiddenField1" /></td>
                                <td><input type="hidden" name="HiddenField2" id="HiddenField2" /></td>
                                <td><input type="hidden" name="HF_Pax" id="HF_Pax" value="0" /></td>
                                <td><input type="hidden" name="HF_Iti" id="HF_Iti" value="0" /></td>
                            </tr>	

                        </table>

                    </td>
                </tr>
            </table>

        </form>
        <%--<table  id="table_principal_form" cellspacing="0" cellpadding="0" width="660px" border="0">
            <tr>
                <td>
                    <%= request.getAttribute("DatosPasajeros")%>
                    <%= request.getAttribute("DatosItinerario")%>
                    <%= request.getAttribute("Botones")%>                
                </td>
            </tr>
        </table>--%>
    </body>
</html>
